package com.bestvike.stone.spring.shiro.annotation.resolver;

import com.bestvike.stone.spring.shiro.aop.MethodInvocation;

import java.lang.annotation.Annotation;

/**
 * 注解解析器
 */
public interface AnnotationResolver {
    /**
     * 获取方法上的指定类型注解
     */
    Annotation getAnnotation(MethodInvocation methodInvocation, Class<? extends Annotation> clazz);
}
